package com.hy.erp.inventory.pojo;

import javax.persistence.Column ;
import javax.persistence.Entity ;
import javax.persistence.Table ;

import org.hibernate.annotations.Index ;
//import org.jboss.seam.annotations.Name ;

import com.hy.erp.inventory.dao.interfaces.IPositionPropertyDao;
import com.hy.erp.inventory.pojo.interfaces.IBillType;
import com.hy.erp.inventory.pojo.interfaces.IPositionProperty;
/*import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.api.annotation.DaoA;
import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.entity.AbstractPersistentEntity;
*/import com.hy.mydesktop.shared.persistence.domain.gxt.MyBaseModel;

/**
 * 
 * <ul>
 * <li>开发作者：李冰</li>
 * <li>设计日期：2010-11-23；时间：下午01:39:16</li>
 * <li>类型名称：PositionProperty</li>
 * <li>设计目的：</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
//@Entity
/*@Table(name="positionProperty")
@Name("positionProperty")
@ DaoA ( IPositionPropertyDao.class )*/
//public class PositionProperty extends AbstractPersistentEntity implements IPositionProperty
public class PositionProperty extends MyBaseModel //implements IPositonType
{
	/**
	 * <ul>
	 * <li>开发作者：花宏宇</li>
	 * <li>编写日期：2012-2-23；时间：下午06:43:26</li>
	 * <li>字段类型：long；字段名称：serialVersionUID</li>
	  long  the to setserialVersionUID
	 * <li>设计目的：</li>
	 * </ul>
	 * <ul>
	 * <b>修订编号：</b>
	 * <li>修订日期：</li>
	 * <li>修订作者：</li>
	 * <li>修订原因：</li>
	 * <li>修订内容：</li>
	 * </ul>
	 */
	private static final long serialVersionUID = 1L;

	@ Column ( name = "name" , length = 50 )
	@ Index ( name = "nameIndex" )
	public String getName ( )
	{
		return this.get(IPositionProperty.NAME) ;
	}

	public void setName (
							String name )
	{
		super.set (IPositionProperty.NAME , name );
	}
	@ Column ( name = "description" , length = 200 )
	@ Index ( name = "descriptionIndex" )
	public String getDescription ( )
	{
		return this.get(IPositionProperty.DESCRIPTION) ;
	}

	public void setDescription (
									String description )
	{
		super.set (IPositionProperty.DESCRIPTION , description );
	}

	
}
